package com.longshihan.testart.dagger.component;

import android.app.Activity;

import com.longshihan.mvplh.dagger.component.AppComponent;
import com.longshihan.mvplh.dagger.scope.ActivityScope;
import com.longshihan.testart.MainActivity;
import com.longshihan.testart.dagger.module.ActivityModule;

import dagger.Component;

/**
 * @author longshihan
 * @time 2017/8/23 11:51
 * @des
 */
@ActivityScope
@Component(dependencies = AppComponent.class,modules = ActivityModule.class)
public interface ActivityComponent {
    Activity getActivity();

    void inject(MainActivity mainActivity);
}
